package com.shao.jiegou;

public class for04 {
    public static void main(String[] args) {
        int number[] = {10,202,30,40,50};
//        遍历数组元素，
        for (int i = 0; i < number.length; i++) {
            System.out.println(number[i]);
        }
        System.out.println("==============");
//        用增强for循环for each
for (int x:number){
    System.out.println(x);
}
    }
}
